.class Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$4;
.super Llt/noframe/gpsfarmguide/utils/AsyncCallable;
.source "TrackDialogs.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/dialogs/TrackDialogs;->asyncSaveTrack(Landroid/content/Context;Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Llt/noframe/gpsfarmguide/utils/AsyncCallable<",
        "Ljava/lang/Integer;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/dialogs/TrackDialogs;

.field final synthetic val$track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/dialogs/TrackDialogs;Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;)V
    .locals 0

    .line 125
    iput-object p1, p0, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$4;->this$0:Llt/noframe/gpsfarmguide/dialogs/TrackDialogs;

    iput-object p2, p0, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$4;->val$track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;

    invoke-direct {p0}, Llt/noframe/gpsfarmguide/utils/AsyncCallable;-><init>()V

    return-void
.end method


# virtual methods
.method public run()Ljava/lang/Integer;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 128
    new-instance v0, Llt/noframe/gpsfarmguide/database/DbTracks;

    invoke-direct {v0}, Llt/noframe/gpsfarmguide/database/DbTracks;-><init>()V

    iget-object v1, p0, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$4;->val$track:Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;

    invoke-virtual {v0, v1}, Llt/noframe/gpsfarmguide/database/DbTracks;->insertTrack(Llt/noframe/gpsfarmguide/sprayer/track/ModelTrack;)I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic run()Ljava/lang/Object;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 125
    invoke-virtual {p0}, Llt/noframe/gpsfarmguide/dialogs/TrackDialogs$4;->run()Ljava/lang/Integer;

    move-result-object v0

    return-object v0
.end method
